﻿@model MsForgeReboot.Web.Models.LoginModel

@{
    ViewBag.Title = "Logovanje korisnika";
}
<link href="@Url.Content("~/Content/zocial/zocial.css")" rel="stylesheet" />
<div class="row-fluid">
    <div class="span6">
        <h2>Lokalni nalog</h2>
        <section id="loginForm">
            @using (Html.BeginForm("Login", "Account", FormMethod.Post, new { @class = "form-horizontal" }))
            {
                @Html.AntiForgeryToken()
                @Html.ValidationSummary(true)
                <div class="control-group">
                    @Html.LabelFor(m => m.UserName, new { @class = "control-label" })
                    <div class="controls">@Html.TextBoxFor(m => m.UserName)
                        @Html.ValidationMessageFor(m => m.UserName)
                    </div>
                </div>
                <div class="control-group">
                    @Html.LabelFor(m => m.Password, new { @class = "control-label" })
                    <div class="controls">
                        @Html.PasswordFor(m => m.Password)
                        @Html.ValidationMessageFor(m => m.Password)
                    </div>
                </div>  
                <div class="control-group">
                    @Html.LabelFor(m => m.RememberMe, new { @class = "control-label" })
                    <div class="controls">
                        @Html.CheckBoxFor(m => m.RememberMe)
                    </div>
                </div>
            
                <div class="control-group">
                    <div class="controls">
                        <button class="btn btn-success">Ulogujte se <i class="icon-signin"></i></button>
                    </div>
                </div>
                    
                <div class="control-group">
                    <div class="controls">
                        @Html.ActionLink("Registrujte se", "Register") ako nemate nalog.
                    </div>
                </div>
            
            }
        </section>
    </div>
    <div class="span6">
        <section class="social" id="socialLoginForm">
            <h2>Nalog na:</h2>
            @Html.Action("ExternalLoginsList", new { ReturnUrl = ViewBag.ReturnUrl })
        </section>
    </div>
</div>
@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
